function getDays(days1, days2) {
  console.log(days1);
  console.log(days2);
  var begintime =new Date(Date.parse(days1)).getTime();
  var endtime = new Date(Date.parse(days2)).getTime();

  var nTime =begintime- endtime;
  var day = Math.floor(nTime / 86400000);
  return day

}
export {
  getDays
}